Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
653
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systeminformation

Advanced, lightweight system and OS information library

  • 5.23.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7M
increased by3.78%
Maintainers
1
Weekly downloads
 
Created

What is systeminformation?

The systeminformation package is a Node.js library that provides detailed information about the system it's running on. It can retrieve data about the CPU, memory, disks, network, battery, and more. It is designed to be a comprehensive tool for system monitoring and hardware details retrieval in Node.js applications.

What are systeminformation's main functionalities?

System Information

Retrieve general information about the system like manufacturer, model, version, and serial number.

const si = require('systeminformation');
si.system().then(data => console.log(data));

CPU Information

Get detailed information about the CPU, including brand, speed, and cores.

const si = require('systeminformation');
si.cpu().then(data => console.log(data));

Memory Information

Access information about the system's memory, such as total, free, and used memory.

const si = require('systeminformation');
si.mem().then(data => console.log(data));

Disk Information

Provides information about the disk layout, including type and size of each disk.

const si = require('systeminformation');
si.diskLayout().then(data => console.log(data));

Network Information

Gather data on network interfaces, including IP addresses, MAC addresses, and status.

const si = require('systeminformation');
si.networkInterfaces().then(data => console.log(data));

Battery Information

Check the status of the battery, its capacity, and whether it's charging.

const si = require('systeminformation');
si.battery().then(data => console.log(data));

Other packages similar to systeminformation

Keywords

FAQs

Package last updated on 21 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc